<html>
  <body>
<form method="GET" action="/search">
  <input type="hidden" name="_csrf" value="hey"/>
    <input type="text" name="query" placeholder="Search"/>
    <input type="submit" value="Search"/>
</form>
  </body>
</html>
<html>
  <body>
<form method="POST" action="/search">
  <input type="hidden" name="_csrf" value="hey"/>
    <input type="text" name="query" placeholder="Search"/>
    <input type="submit" value="Search"/>
</form>
  </body>
</html>
<html>
  <body>
<form method="POST" action="/search">
  <input type="hidden" name="_csrf" value="hey"/>
</form>
  </body>
</html>
<div id="foo">
<div id="bar">
<p>one</p>
<p>two</p>
<p>three</p>
</div>
</div>
